<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <c:import url="/static/common/easyui_header.jsp"/>
    <script type="text/javascript" src="/static/cilent/clientPool.js"></script>
    <title>潜在客户资源池</title>
</head>
<body>
    <table id="clientPool_datagrid"></table>

    <div id="clientPool_toolbar">
        <a class="easyui-linkbutton" iconCls="icon-see" plain="true" data-cmd="see">查看</a>
        <a class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reload">刷新</a>
        <a class="easyui-linkbutton" iconCls="icon-join" plain="true" data-cmd="joinme">移交给我</a>
        <a class="easyui-linkbutton" iconCls="icon-dispatcher" plain="true" data-cmd="dispatch">指派给</a>
    </div>

    <%--分配客户池中客户给指定咨询人员--%>
    <div id="dispatch_dialog" class="easyui-dialog" style="width:300px;height:200px"
          data-options="title:'移交客户', closed:true,buttons:'#dispatch_btns'">
         <form id="dispatch_form" method="post">
             <input type="hidden" name="id">
             <table align="center" style="margin-top: 10px;font-size: 12px" cellspacing="10px" width="250px"
                    cellpadding="5px">
                 <tr align="right" style="height: 30px">
                     <td><span style="font-size: 14px">客户姓名:</span></td>
                     <td><input class="easyui-textbox" name="name" style="width: 130px;height: 22px;"/></td>
                 </tr>
                 <tr align="right" style="height: 30px">
                     <td><span style="font-size: 14px">咨询人员:</span></td>
                     <td><input class="easyui-combobox" name="saleman.id"
                                style="width: 130px;height: 22px;"
                                data-options="url:'/employee/selectEmployeeByHan',textField:'realName',valueField:'id',panelHeight:'auto'"/>
                     </td>
                 </tr>
             </table>
         </form>
     </div>

     <div id="dispatch_btns">
         <a class="easyui-linkbutton" iconCls="icon-ok" plain="true" data-cmd="dispatchTo">提交</a>
         <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancelDispatch">取消</a>
     </div>

     <%--引入查看对话框--%>
    <c:import url="saveorupdateorlook.jsp"/>
</body>
</html>
